package com.treasure.infrastructure.repository.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.treasure.infrastructure.model.po.KnowledgeDocumentVector;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author sunhongmin
 * @since 2023-09-04
 */
public interface KnowledgeDocumentVectorMapper extends BaseMapper<KnowledgeDocumentVector> {
    int batchInsertDoc(@Param("list") List<KnowledgeDocumentVector> list);

    List<KnowledgeDocumentVector> searchByVector(@Param("corpId") String corpId, @Param("vector") String vector);
}
